package com.stox.charting.ui.swing.model.indicator;

import java.awt.Graphics;

import com.stox.charting.ui.swing.model.Theme;

public class VolumeChart extends BarChart {
	private static final long serialVersionUID = -7243969875742095755L;

	private boolean independent = false;
	
	public boolean isIndependent() {
		return independent;
	}

	public void setIndependent(boolean independent) {
		this.independent = independent;
	}

	@Override
	protected void paintComponent(Graphics g) {
		g.setColor(Theme.getColours().getVolumeBar());
		super.paintComponent(g);
	}
	
}
